#ifndef TREE_NODE

#include "Spatial.h"
#include <list>

#define TREE_NODE

class Node {
	public:
		Node();
		void addObject(Spatial *toAdd);
		void removeObject(Spatial *toRemove);
		bool contains(Spatial *cont);
		std::list<Spatial *>* getContents(void);
	private:
		std::list<Spatial *> nodeList;
		int numObjects;
		Node *left;
		Node *right;
};

#endif //TREE_NODE